package com.mz.ozy.mvp.view;

import android.app.Activity;
import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.BookDetailBean;
import com.mz.ozy.bean.FamilyFeastBean;
import com.mz.ozy.bean.OnlineFamilyBean;
import com.mz.ozy.bean.OnlineListBean;
import com.mz.ozy.bean.OrderBean;

import org.json.JSONObject;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class BookDetailContract {

    public interface View extends BaseView {
        void queryDetailSuccess(BookDetailBean orderBean);

        void onPaySuccess(JSONObject orderBean);

        void onPayError(String s);

        void cancelBookSuccess(OnlineListBean orderBean);
    }

    public interface Presenter extends BasePresenter<View> {
        void queryDetail(Context context, String id);

        void onPay(Context contex, String orderId, String type, String pwd);
    }


}
